/**
 * 
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Topic;

/**
 * @author voidman
 * 
 */
public interface TopicDAO {
    public List<Topic> getAllTopic();

    public Topic getTopicByNickName(String nickName);

    public void addTopic(Topic Topic);

    public void deleteTopicById(Integer id);

    public void deleteTopicByNickName(String nickName);

    public void updateTopic(Topic Topic);

}
